package com.qf.business.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qf.business.system.mapper.PowerMapper;
import com.qf.data.system.dto.PowerDto;
import com.qf.data.system.entity.Power;
import com.qf.business.system.service.PowerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("powerService")
public class PowerServiceImpl extends ServiceImpl<PowerMapper, Power> implements PowerService {

    @Autowired
    private PowerMapper powerMapper;

    @Override
    public List<PowerDto> queryList() {
        return powerMapper.queryList();
    }
}

